home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7980 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  851 b 

  1. Path: yama.mcc.ac.uk!usenet
  2. From: Vangelis Pappas-Katsiafas <vangpk@sna.co.umist.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Specify size of window in MS-Visual C++ 1.5
  5. Date: Fri, 16 Feb 1996 19:27:03 +0000
  6. Organization: Sirius Cybernetics Corporation
  7. Message-ID: <3124DA87.7B64@sna.co.umist.ac.uk>
  8. NNTP-Posting-Host: morgan.sna.co.umist.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6b (Win16; I)
  13.  
  14. I'm either stupid or it's hidden somewhere....
  15. How you specify the location and the size of the main window of an 
  16. application?
  17.  
  18. I tried passing the CRect parameter in the Create(...) member function
  19. both in the CFrameWnd constructor and the CAppWnd::InitInstance(...)
  20. function but the executable crashes...
  21.  
  22. Sorry abou the question but I'm buffled (its Friday evening...)
  23.  
  24. Bye,
  25.